<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>test.html</title>

		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="this is my page">
		<meta http-equiv="content-type"
			content="text/html; charset=ISO-8859-1">

		<link rel="stylesheet" type="text/css" href="./styles.css">
		<script type="text/javascript">
		function $(id){
			return document.getElementById(id);
		}
		function test()
		{
			$('rst').innerHTML=reg.test($('d').value);
		}
		var reg = new RegExp("^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$");
		//var reg = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/i;
	</script>
	</head>

	<body>
		<![CDATA[jkjkjk]]>
		<!-- hahah -->
		<s:Literal id="lab"> Hello World1</s:Literal>
		<input type="password" />
		<s:Literal id="lab">Hello World2</s:Literal>
		<input id="d" type="text" />
		<button onclick="test();">
			Test
		</button>
		<span id="rst">true</span>
		<form action="">
			<input type="radio" name="1">
			1
			</input>
			<input type="radio" name="1">
			2
			</input>
			<input type="radio" name="1" onclick="alert(this.value);">
			3
			</input>
			3
		</form>
	</body>
</html>
